﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;

namespace _2DRPG
{
    class Game
    {
        /* ----------------- Constants ------------------- */
        public const int CANVAS_HEIGHT = 700;
        public const int CANVAS_WIDTH = 1200;

        /* ----------------- Class members ------------------- */
        private GEngine gEngine;

        /* ----------------- Class methods ------------------- */
        public void startGraphics(Graphics g)
        {
            gEngine = new GEngine(g);
            gEngine.init();
        }

        public void stopGame()
        {
            if (gEngine != null)
            {
                gEngine.stop();    
            }
        }
    }
}
